package cn.homework.dao;

import cn.homework.domain.Payment;

import java.util.List;
import java.util.Map;

/**
 * @author ACT
 */
public interface PaymentDao {
    List<Payment> findPaymentMethod();

    void delPaymentById(String id);

    List<Payment> findPaymentCondition(Map<String, String[]> map);

    void addPayment(Payment payment);
}
